adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / Range<T> Class / TryParse Method / TryParse(String,Range<T>) Method
The string to parse
Returns the parsed range


In This Topic
    TryParse(String,Range<T>) Method
    In This Topic
    Attempts to parse a Range from a string representation
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function TryParse( _
       ByVal source As String, _
       ByRef result As Range(Of T) _
    ) As Boolean
    public static bool TryParse( 
       string source,
       out Range<T> result
    )
    public:
    static bool TryParse( 
       String^ source,
       [Out] Range<T^>^ result
    ) 

    Parameters

    source
    The string to parse
    result
    Returns the parsed range

    Return Value

    A boolean value indicating whether the source was successfully parsed.
    Remarks
    The source must be a valid string representation of a single T value or of two T values separated by the DefaultRangeSeparator.
    See Also